package com.travel.travelServer.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.travel.travelServer.utils.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (Store)表实体类
 *
 * @author makejava
 * @since 2024-03-03 14:05:09
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Store extends BaseEntity<Store> {
    //店面
    private String name;
    //所属
    @JsonFormat(shape=JsonFormat.Shape.STRING)
    private Long userId;

    private String legal;

    @TableField(exist = false)
    private User user;
}

